<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>1101: BLL.messagesMgr类参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.7.2 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>包</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>组合类型列表</span></a></li>
      <li><a href="classes.html"><span>组合类型索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>组合类型成员</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespace_b_l_l.html">BLL</a>      </li>
      <li><a class="el" href="class_b_l_l_1_1messages_mgr.html">messagesMgr</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">公有成员</a>  </div>
  <div class="headertitle">
<h1>BLL.messagesMgr类参考</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="BLL::messagesMgr" --><!-- startSectionHeader --><div class="dynheader">
BLL.messagesMgr合作图：<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="class_b_l_l_1_1messages_mgr__coll__graph.png" border="0" usemap="#_b_l_l_8messages_mgr_coll__map" alt="Collaboration graph"/></div>
<map name="_b_l_l_8messages_mgr_coll__map" id="_b_l_l_8messages_mgr_coll__map">
<area shape="rect" id="node2" href="class_d_a_o_1_1messages_dao.html" title="DAO.messagesDao" alt="" coords="5,5,141,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center><!-- endSectionContent --></div>

<p><a href="class_b_l_l_1_1messages_mgr-members.html">所有成员的列表。</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
公有成员</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IList&lt; <a class="el" href="class_model_1_1messages.html">messages</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#a4559e18339441c180489b438a29654b0">FindAll_messages</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">返回所有记录  <a href="#a4559e18339441c180489b438a29654b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IList&lt; <a class="el" href="class_model_1_1messages.html">messages</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#ad1d180b2778ea6d7bd75f2e815c156c5">FindAllByPage_messages</a> (string start, string limit, string conditions)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">根据条件获得该页的记录  <a href="#ad1d180b2778ea6d7bd75f2e815c156c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#ae8fb60020406f1a8612b1906ba1f7d8a">GetRecordCount_messages</a> (string conditions)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">获得该条件的记录总条数  <a href="#ae8fb60020406f1a8612b1906ba1f7d8a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_model_1_1messages.html">messages</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#a3d9f00599d2feb132fcb0f2e10f1def0">FindById_messages</a> (int id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">根据id查找指定记录  <a href="#a3d9f00599d2feb132fcb0f2e10f1def0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#ac08b1927b466c6157a77c9c16385feca">Add_messages</a> (<a class="el" href="class_model_1_1messages.html">messages</a> _messages)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">添加新纪录  <a href="#ac08b1927b466c6157a77c9c16385feca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#a6bcc6faf0c202a2516afd6c3ab7f1f91">Del_messages</a> (<a class="el" href="class_model_1_1messages.html">messages</a> _messages)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">删除记录  <a href="#a6bcc6faf0c202a2516afd6c3ab7f1f91"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#a563f39428db81396c72f5a78e6a8721e">Del_messages</a> (string conditions)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">批量删除  <a href="#a563f39428db81396c72f5a78e6a8721e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#afceb94fe61530a27481c283e31d459b8">Update_messages</a> (<a class="el" href="class_model_1_1messages.html">messages</a> _messages)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">更新记录  <a href="#afceb94fe61530a27481c283e31d459b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#a05f76725605d91c9c14e3319c1a2c183">Update_messages</a> (string sets, string conditions)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">批量更新  <a href="#a05f76725605d91c9c14e3319c1a2c183"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IList&lt; <a class="el" href="class_model_1_1messages.html">messages</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_b_l_l_1_1messages_mgr.html#ae0762114ccbecfa4339055cb7fa50dcb">FindByConditions_messages</a> (string conditions)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">查找符合条件的记录  <a href="#ae0762114ccbecfa4339055cb7fa50dcb"></a><br/></td></tr>
</table>
<hr/><h2>成员函数文档</h2>
<a class="anchor" id="ac08b1927b466c6157a77c9c16385feca"></a><!-- doxytag: member="BLL::messagesMgr::Add_messages" ref="ac08b1927b466c6157a77c9c16385feca" args="(messages _messages)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BLL.messagesMgr.Add_messages </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_model_1_1messages.html">messages</a>&#160;</td>
          <td class="paramname"> <em>_messages</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>添加新纪录 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">messages</td><td>实体</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>是否添加成功</dd></dl>

</div>
</div>
<a class="anchor" id="a6bcc6faf0c202a2516afd6c3ab7f1f91"></a><!-- doxytag: member="BLL::messagesMgr::Del_messages" ref="a6bcc6faf0c202a2516afd6c3ab7f1f91" args="(messages _messages)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BLL.messagesMgr.Del_messages </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_model_1_1messages.html">messages</a>&#160;</td>
          <td class="paramname"> <em>_messages</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>删除记录 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">messages</td><td>实体</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>是否删除成功</dd></dl>

</div>
</div>
<a class="anchor" id="a563f39428db81396c72f5a78e6a8721e"></a><!-- doxytag: member="BLL::messagesMgr::Del_messages" ref="a563f39428db81396c72f5a78e6a8721e" args="(string conditions)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BLL.messagesMgr.Del_messages </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>conditions</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>批量删除 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">conditions</td><td>删除条件，例如 ForeignID=2</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a4559e18339441c180489b438a29654b0"></a><!-- doxytag: member="BLL::messagesMgr::FindAll_messages" ref="a4559e18339441c180489b438a29654b0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IList&lt;<a class="el" href="class_model_1_1messages.html">messages</a>&gt; BLL.messagesMgr.FindAll_messages </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>返回所有记录 </p>
<dl class="return"><dt><b>返回:</b></dt><dd>返回所有记录</dd></dl>

</div>
</div>
<a class="anchor" id="ad1d180b2778ea6d7bd75f2e815c156c5"></a><!-- doxytag: member="BLL::messagesMgr::FindAllByPage_messages" ref="ad1d180b2778ea6d7bd75f2e815c156c5" args="(string start, string limit, string conditions)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IList&lt;<a class="el" href="class_model_1_1messages.html">messages</a>&gt; BLL.messagesMgr.FindAllByPage_messages </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>limit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>conditions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>根据条件获得该页的记录 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>开始号</td></tr>
    <tr><td class="paramname">limit</td><td>分页大小</td></tr>
    <tr><td class="paramname">Fields</td><td>查询关键字</td></tr>
    <tr><td class="paramname">query</td><td>查询内容</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>返回当前页数据</dd></dl>

</div>
</div>
<a class="anchor" id="ae0762114ccbecfa4339055cb7fa50dcb"></a><!-- doxytag: member="BLL::messagesMgr::FindByConditions_messages" ref="ae0762114ccbecfa4339055cb7fa50dcb" args="(string conditions)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IList&lt;<a class="el" href="class_model_1_1messages.html">messages</a>&gt; BLL.messagesMgr.FindByConditions_messages </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>conditions</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>查找符合条件的记录 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">conditions</td><td>条件</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>返回符合条件的记录</dd></dl>

</div>
</div>
<a class="anchor" id="a3d9f00599d2feb132fcb0f2e10f1def0"></a><!-- doxytag: member="BLL::messagesMgr::FindById_messages" ref="a3d9f00599d2feb132fcb0f2e10f1def0" args="(int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_model_1_1messages.html">messages</a> BLL.messagesMgr.FindById_messages </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>id</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>根据id查找指定记录 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>查找的ID号</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>返回查找到的对象</dd></dl>

</div>
</div>
<a class="anchor" id="ae8fb60020406f1a8612b1906ba1f7d8a"></a><!-- doxytag: member="BLL::messagesMgr::GetRecordCount_messages" ref="ae8fb60020406f1a8612b1906ba1f7d8a" args="(string conditions)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string BLL.messagesMgr.GetRecordCount_messages </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>conditions</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>获得该条件的记录总条数 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">Fields</td><td>查询关键字</td></tr>
    <tr><td class="paramname">query</td><td>查询内容</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>返回记录条数</dd></dl>

</div>
</div>
<a class="anchor" id="a05f76725605d91c9c14e3319c1a2c183"></a><!-- doxytag: member="BLL::messagesMgr::Update_messages" ref="a05f76725605d91c9c14e3319c1a2c183" args="(string sets, string conditions)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BLL.messagesMgr.Update_messages </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>sets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"> <em>conditions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>批量更新 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sets</td><td>更新值，例如[field1]='X',[field2]='Y'</td></tr>
    <tr><td class="paramname">conditions</td><td>更新条件，例如 ForeignID=2</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="afceb94fe61530a27481c283e31d459b8"></a><!-- doxytag: member="BLL::messagesMgr::Update_messages" ref="afceb94fe61530a27481c283e31d459b8" args="(messages _messages)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BLL.messagesMgr.Update_messages </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_model_1_1messages.html">messages</a>&#160;</td>
          <td class="paramname"> <em>_messages</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>更新记录 </p>
<dl><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">messages</td><td>实体</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>返回:</b></dt><dd>是否更新成功</dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成：<ul>
<li>D:/Project/1101/BLL/messagesMgr.cs</li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>名字空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>属性</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated at Sun Apr 10 2011 19:47:49 for 1101 by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
